/**
 * \file types.h
 * \brief Shared types definition
 * \author Marc Laval
 * \version 0.1
 * \date 10/2011
 *
 */

#include <stdint.h>
#include <vector>

#ifndef _TYPES_H_
#define _TYPES_H_

///! Type byte (octet)
typedef uint8_t byte;

///! Unsigned int 8bits
typedef uint8_t uint8;

///! Unsigned int 16bits
typedef uint16_t uint16;

///! Unsigned int 32bits
typedef uint32_t uint32;

///! Signed int 8bits
typedef int8_t int8;

///! Signed int 16bits
typedef int16_t int16;

///! Signed int 32bits
typedef int32_t int32;

///! ByteBuffer used to store file raw data
typedef std::vector<byte> ByteBuffer;

#endif //_TYPES_H_
